package com.xinyue.center.logicconfig;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "gamecenter.config")
public class GameCenterConfig {

    private int userTokenExpire = 7;
    private int playerTokenExpire = 7;

    public int getUserTokenExpire() {
        return userTokenExpire;
    }

    public void setUserTokenExpire(int userTokenExpire) {
        this.userTokenExpire = userTokenExpire;
    }

    public int getPlayerTokenExpire() {
        return playerTokenExpire;
    }

    public void setPlayerTokenExpire(int playerTokenExpire) {
        this.playerTokenExpire = playerTokenExpire;
    }
    

}
